﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="author" content="ISUX">
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <title>工会活动查询</title>
    <link rel="stylesheet" href="/ViewMob/css/wxui.css">
    <link rel="stylesheet" href="/ViewMob/css/group.css">
    <link href="//at.alicdn.com/t/font_qqztt1cpq09kke29.css" rel="stylesheet" />
    <link href="/ViewMob/js/layer/need/layer.css" rel="stylesheet" />
    <script src="/ViewMob/js/layer/layer.m.js"></script>
    <style>
        .ms-controller, [ms-controller] {
            display: none;
        }

        .page {
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            opacity: 0;
            z-index: 1;
        }

            .page.js_show {
                opacity: 1;
            }

        .page__hd {
            padding: 24px;
            text-align: center;
            background: #4faeff url(../images/bg-account.jpg) 100% 100%;
            color: white;
        }

        .page__bd_spacing {
            padding: 0 15px;
        }

        .page__ft {
            padding-top: 40px;
            padding-bottom: 10px;
            text-align: center;
        }

            .page__ft img {
                height: 19px;
            }

            .page__ft.j_bottom {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
            }

        .page__title {
            text-align: left;
            font-size: 20px;
            font-weight: 400;
        }

        .page__desc {
            margin-top: 5px;
            text-align: left;
            font-size: 14px;
        }

        .page.home .page__intro-icon {
            margin-top: -.2em;
            margin-left: 5px;
            width: 16px;
            height: 16px;
            vertical-align: middle;
        }

        .page.home .page__title {
            font-size: 0;
            margin-bottom: 15px;
        }


        .head-oneself {
            width: 4.5rem;
            height: 4.5rem;
            margin-left: 20px;
        }

            .head-oneself img {
                border: 2px solid rgba(0,0,0,.2);
            }

        .ybl {
            background-color: #10c55b;
            font-size: 30px;
            color: white;
        }

        .wbl {
            background-color: lightgray;
            font-size: 20px;
            color: white;
        }

        .YZ {
            POSITION: absolute;
            RIGHT: 10PX;
            TOP: 10PX;
            FONT-SIZE: 70PX;
            COLOR: #ff0000;
            line-height: 70px;
        }
    </style>
</head>
<body style="background-color: #f8f8f8;" ms-controller="GHHDCX">
    <div class="page__hd">
        <h1 class="page__title">工会活动查询</h1>
    </div>
    <div class="page__bd">

        <div class="weui-panel" style="margin-top: 0px;" id="xb" ms-if="!searchkey">
            <div class="weui-panel__hd" style="font-size: 14px;">
                <span>所有活动项目></span>
            </div>
            <div class="weui-panel__bd">
                <div class="weui-media-box weui-media-box_small-appmsg">
                    <div class="weui-cells" ms-repeat-item="arrgh" ms-click="godata(item,'gh')" ms-if-loop="datatype==''">
                        <a class="weui-cell weui-cell_access" href="javascript:;">
                            <div class="weui-cell__hd">
                            </div>
                            <div class="weui-cell__bd weui-cell_primary">
                                <p>{{item.mc}}</p>
                            </div>
                            <span class="weui-cell__ft"></span>
                        </a>

                    </div>

                </div>

            </div>
        </div>
    </div>

    <script src="/ViewMob/js/zepto.min.js"></script>
    <script src="/ViewMob/js/weui.min.js"></script>
    <script src="/ViewMob/js/avalon1.47.js"></script>
    <script type="text/javascript" class="searchbar js_show">
        var model = avalon.define({
            $id: "GHHDCX",
            selgh: "",
            datatype: "",
            searchkey: "",
            arrgh: [],

            query: function () {
                $.getJSON("/API/VIEWAPI.ashx?ACTION=GH_GHMDBYXM", { P1: model.searchkey }, function (result) {
                    model.ssdata = result.Result;
                })
            },
            godata: function (item, type) {
                location.href = "UI_HDLIST.html?dm=" + item.dm;
            }
        })
        avalon.ready(function () {
            $.getJSON("/API/VIEWAPI.ashx?ACTION=GH_GHHDXM", {}, function (result) {
                model.arrgh = result.Result;
            })

        })
    </script>
</body>
</html>
